home *** CD-ROM | disk | FTP | other *** search
- Path: wmin.ac.uk!usenet
- From: Idoia Lertxundi <gsoec@wmin.ac.uk>
- Newsgroups: comp.lang.c
- Subject: Structure and array quick question, a.s.a.p. please
- Date: 14 Mar 1996 16:27:10 GMT
- Organization: Westminster University
- Message-ID: <4i9hcu$t6d@badger.wmin.ac.uk>
- NNTP-Posting-Host: ux214.wmin.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3_U1 sun4m)
- X-URL: news:comp.lang.c/150660-150760
-
- Hello c-friends I have a questions which may be too easy for some of you.
-
- I have a structure lets say B and one of this member is a char array[10] O.K.?
- I need to read a list of characters lets say name1,name2,name3,name4 into
- this array but storing each name in each index. When I
- strcpy(struct->array,namearray) is OK but if
- struct->array=struct->array++
- is WRONG.
-
- I hope someone will understand me.
-
- Thank you email me and the newsgroup.
-
- e-mail: gsoec@wmin.ac.uk
-
-